 <div class="box-prd">
    <div class="prd-title">
        <h3>
            <?=$title?>
        </h3>
    </div>
    <div class="prd-content">
        <div class="view-prd">
            <?php
                foreach($arr_product as $item):
            ?>
                <div class="view-prd-box">
                    <img alt="<?=$item['image']?>" src="<?=base_url('data/images').'/'.$item['image']?>" onerror="defaultimg(this)"/>
                    <div class="view-prd-title">
                        <a title="<?=$item['name']?>" href="<?=site_url('product').'/'.$item['id'].'/'.$item['alias']?>">
                            <?=$item['name']?>
                        </a>
                    </div>
                    <div class="view-prd-price">
                        <?=format_money($item['price'])?>
                    </div>
                    <div class="view-prd-action">
                        <a title="<?=$item['name']?>" href="<?=site_url('add_cart').'/'.$item['id']?>" class="add-cart btaddcard">Mua hàng</a>
                    </div>
                </div>
            <?php
                endforeach; 
            ?>
            <div class="clr"></div>
        </div>
    </div>
</div>